package com.youlai.boot.system.model.entity;

import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.boot.common.base.BaseEntity;

/**
 * 试题管理实体对象
 *
 * @author youlaitech
 * @since 2025-07-17 09:22
 */
@Getter
@Setter
@TableName("exam_question")
public class ExamQuestion extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 创建时间
     */
//    private ${fieldConfig.fieldType} addtime;
    /**
     * 所属试卷ID
     */
    private Long paperId;
    /**
     * 试卷名称
     */
    private String paperName;
    /**
     * 试题类型
     */
    private String type;
    /**
     * 题目内容
     */
    private String content;
    /**
     * 选项(JSON格式存储)
     */
    private String options;
    /**
     * 题目答案
     */
    private String answer;
    /**
     * 答案解析
     */
    private String analysis;
    /**
     * 得分
     */
    private Integer score;
    /**
     * 难度等级(1-5)
     */
    private Integer level;
    /**
     * 题目顺序
     */
    private Integer sequence;
}
